

#include <mtx_util.h>


int det_matrices(vm_matrix **mtx_array, int len){

  int i = 0;
  for ( ; i <= len; i++){
    double det;
    int ok = vm_determinant(mtx_array[i], &det);
    if (!ok){
      return 0;
    }
    printf("Determinant of matrix %d: %f\n", (i+1), det);
  }

  return 1;

}
